/**
 * 弹窗的表头
 * @param
 * field:表字段名, fieldtitle:表字段值, width:筛选框宽度, type:筛选框类型

 * type: 'checkbox'||'none'||'text'
 *
 *  text	| 单个input筛选
 *  time	| 时间区间筛选
 *  number	| 数值区间筛选
 *  radio	| 单选框
 *  ''		| 没有筛选条件的
 *
 * @example
    [{
		field: 'resume_name',
		fieldtitle: '候选者姓名',
		width: '150px',
		type: 'text'
	}]
 */

export default `{{~it:v:i}}
{{? v.type === "checkbox"}}
<span class="display-ib pos-r fl p5 border-r-1 vertical-a-t text-c l-ht40 box" style="width:{{=v.width}}">
	<input data-feidao-id="checkall" data-feidao-actions="click:eu-c-008" type="checkbox" class="cursor-p" style="vertical-align:-3px;" />
</span>
{{?? v.type === "text"}}
<span class="display-ib pos-r fl p5 border-r-1 vertical-a-t text-c l-ht40 box" style="width:{{=v.width}}">{{=v.fieldtitle}}
	<!-- 切换  向上箭头icon-up  向下箭头icon-xia -->
	<i class="iconfont cursor-p icon-paixu1 color-theme font18 pos-a" style="right: 5px;top:0px;" reset='-1' sort="-1" data-feidao-sort name="{{=v.field}}" data-feidao-actions="click:sort-001"></i>
</span>
{{?? v.type === "endtime"}}
<span class="display-ib pos-r fl p5 border-r-1 vertical-a-t text-c l-ht40 box" style="width:{{=v.width}}">{{=v.fieldtitle}}
	<!-- 切换  向上箭头icon-up  向下箭头icon-xia -->
	<i class="iconfont cursor-p icon-paixu1 color-theme font18 pos-a" style="right: 5px;top:0px;" reset='1' sort="1" data-feidao-sort name="{{=v.field}}" data-feidao-actions="click:sort-001"></i>
</span>
{{?? v.type === "none"}}
<span class="display-ib pos-r fl p5 border-r-1 vertical-a-t text-c l-ht40 box" style="width:{{=v.width}}">{{=v.fieldtitle}}
</span>
{{?}}

{{~}}`;

